@if (ViewContext.ModelState.IsValid == false)
{
    @Html.ValidationSummary(true, "", new {@class = "text-danger"})
}